package com.purchase.ml.bean.req.dealer;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.purchase.ml.entity.dealer.SysDealer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.boot.jackson.JsonComponent;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel(value = "创建，修改地址model")
public class SysAddrDto implements Serializable {
    @ApiModelProperty(value = "主键id")
    private Long id;

    /**
     * 地址ID
     */
    @ApiModelProperty(value = "地址ID")
    private Long addrId;

    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名")
    private String name;

    /**
     * 电话
     */
    @ApiModelProperty(value = "电话")
    private String phoneNumber;

    /**
     * 邮编
     */
    @ApiModelProperty(value = "邮编")
    private String postCode;

    /**
     * 城市
     */
    @ApiModelProperty(value = "城市")
    private String city;

    /**
     * 区
     */
    @ApiModelProperty(value = "区")
    private String region;

    /**
     * 国家
     */
    @ApiModelProperty(value = "国家")
    private String country;

    /**
     * 街道地址
     */
    @ApiModelProperty(value = "街道地址")
    private String streetAddress;

    /**
     * 0：账单信息；1收获信息
     */
    @ApiModelProperty(value = "0：账单信息；1收获信息")
    private Integer type;

    private static final long serialVersionUID = 1L;
}